package com.yjf.ljr.activity;

import com.yjf.ljr.R;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class InvestorsOpenAccountSuccessActivity extends IjActivity implements OnClickListener {
	@ID("tvcustomermanagement")
	private TextView mTvCustomerManagement;
	@ID("tvContinueopenaccount")
	private TextView MTvContinueOpenAccount;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_investors_success);
		initControl();
	}

	private void initControl() {

		setLeftBtnClick();
		setTitleStr("投资人开户");
		mTvCustomerManagement.setOnClickListener(this);
		MTvContinueOpenAccount.setOnClickListener(this);

	}

	@Override
	public void onClick(View view) {
		// TODO Auto-generated method stub
		switch (view.getId()) {
		case R.id.tvcustomermanagement:
			startActivity(new Intent(InvestorsOpenAccountSuccessActivity.this, CustomerManageActivity.class));
			CustomerManageActivity.instance.finish();
			finish();
			break;
		case R.id.tvContinueopenaccount:
			startActivity(new Intent(InvestorsOpenAccountSuccessActivity.this, InvestorsOpenAccountActivity.class));
			finish();
			break;

		default:
			break;
		}

	}
}
